package cn.kgc.one.service;

import cn.kgc.one.mapper.One_UserDao;
import cn.kgc.one.pojo.one_User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class One_UserServiceImpl implements  One_UserService {
    @Resource
    One_UserDao one_userDao;

    @Override
    public one_User getuserandpassword(String usercode, String password) {
        return one_userDao.getuserandpassword(usercode,password);
    }

    @Override
    public int addUser(one_User user) {
        return one_userDao.addUser(user);
    }
}
